package com.longcai.cm.moudules.system.service;

import com.longcai.cm.base.service.BaseServiceIface;
import com.longcai.cm.moudules.system.domain.SysRoleMenus;
import com.longcai.cm.moudules.system.domain.SysRoles;
import com.longcai.cm.moudules.system.domain.SysUsers;

import java.util.List;

/**
 * @author zhaojie
 * @Title: SysUsersService
 * @ProjectName ROOT
 * @Description: TODO
 * @date 2018/11/1415:59
 */
public interface SysUsersService extends BaseServiceIface<SysUsers> {
    /**
     * 通过账号名称获取用户
     *
     * @param username
     * @return
     */
    SysUsers selectByUsername(String username);

    SysRoles getRoleInfoByUserId(String userId);


    List<SysRoleMenus> getRoleMenuListByUserId(String userId);

    String getRoleIdByUserId(String userId);
}
